home *** CD-ROM | disk | FTP | other *** search
EPOC Database | 2000-10-04 | 16.5 KB | 592 lines |
- "Data.app
- "Data.app;@O
- Table1
- Group:
- Const:
- Table1
- ColA9
- ColB9
- ColA10
- ColB10
- General constants
- KTrue%=-1
- KFalse%=0
- lAKMaxStringLen%=255
- KMaxFloat=1.7976931348623157E+308
- KMinFloat=2.2250738585072015E-308 rem Minimum with full precision in mantissa
- KMinFloatDenorm=5e-324 rem Denormalised (just one bit of precision left)
- KMinInt%=$8000 rem -32768 (translator needs hex for maximum ints)
- KMaxInt%=32767
- KMinLong&=&80000000 rem -2147483648 (hex for translator)
- KMaxLong&=2147483647
- 'AKDFileNameLen%=255
- rem flags
- KDFileEditBox%=$0001
- KDFileAllowFolders%=$0002
- KDFileFoldersOnly%=$0004
- KDFileEditorDisallowExisting%=$0008
- KDFileEditorQueryExisting%=$0010
- KDFileAllowNullStrings%=$0020
- KDFileAllowWildCards%=$0080
- KDFileSelectorWithRom%=$0100
- KDFileSelectorWithSystem%=$0200
- KKeyTab%=9
- KKeyEnter%=13
- AKGetMenu%=290 rem unfortunately must be named KGetMenu%
- because KKeyMenu% clashes with badly-named other constant which cannot be changed for compatibility reasons
- KKeyUpArrow%=256
- KKeyDownArrow%=257
- KKeyLeftArrow%=259
- KKeyRightArrow%=258
- KKeyPageUp%=260
- KKeyPageDown%=261
- KKeyPageLeft%=262
- KKeyPageRight%=263
- KKeyMenu%=4150 rem const kept for compatibility
- KKeySidebarMenu%=10000 rem const kept for compatibility
- cEKErrGenFail%=-1
- KErrInvalidArgs%=-2
- KErrOs%=-3
- KErrNotSupported%=-4
- KErrUnderflow%=-5
- KErrOverflow%=-6
- KErrOutOfRange%=-7
- KErrDivideByZero%=-8
- KErrInUse%=-9
- KErrNoMemory%=-10
- KErrNoSegments%=-11
- KErrNoSemaphore%=-12
- KErrNoProcess%=-13
- KErrAlreadyOpen%=-14
- KErrNotOpen%=-15
- KErrImage%=-16
- KErrNoReceiver%=-17
- KErrNoDevices%=-18
- KErrNoFileSystem%=-19
- KErrFailedToStart%=-20
- KErrFontNotLoaded%=-21
- KErrTooWide%=-22
- KErrTooManyItems%=-23
- KErrBatLowSound%=-24
- KErrBatLowFlash%=-25
- KErrExists%=-32
- KErrNotExists%=-33
- KErrWrite%=-34
- KErrRead%=-35
- KErrEof%=-36
- KErrFull%=-37
- KErrName%=-38
- KErrAccess%=-39
- KErrLocked%=-40
- KErrDevNotExist%=-41
- KErrDir%=-42
- KErrRecord%=-43
- KErrReadOnly%=-44
- KErrInvalidIO%=-45
- KErrFilePending%=-46
- KErrVolume%=-47
- KErrIOCancelled%=-48
- rem OPL specific error
- KErrSyntax%=-77
- KOplStructure%=-85
- KErrIllegal%=-96
- KErrNumArg%=-97
- KErrUndef%=-98
- KErrNoProc%=-99
- KErrNoFld%=-100
- KErrOpen%=-101
- KErrClosed%=-102
- KErrRecSize%=-103
- KErrModLoad%=-104
- KErrMaxLoad%=-105
- KErrNoMod%=-106
- KErrNewVer%=-107
- KErrModNotLoaded%=-108
- KErrBadFileType%=-109
- KErrTypeViol%=-110
- KErrSubs%=-111
- KErrStrTooLong%=-112
- KErrDevOpen%=-113
- KErrEsc%=-114
- KErrMaxDraw%=-117
- KErrDrawNotOpen%=-118
- KErrInvalidWindow%=-119
- KErrScreenDenied%=-120
- KErrOpxNotFound%=-121
- KErrOpxVersion%=-122
- KErrOpxProcNotFound%=-123
- KErrStopInCallback%=-124
- KErrIncompUpdateMode%=-125
- KErrInTransaction%=-126
- General constants
- KTrue%=-1
- KFalse%=0
- Data type ranges
- Special keys>KKeyEsc%=27
- KKeySpace%=32
- KKeyDel%=8
- KKeyTab%=9
- KKeyEnter%=13
- /Key constants for 16-bit keywords GETEVENT etc.
- 1Key constants for 32-bit keywords GETEVENT32 etc.
- KKeyMenu32%=4150
- KKeySidebarMenu32%=10000
- KKeyPageLeft32%=4098
- KKeyPageRight32%=4099
- KKeyPageUp32%=4100
- KKeyPageDown32%=4101
- KKeyLeftArrow32%=4103
- KKeyRightArrow32%=4104
- KKeyUpArrow32%=4105
- KKeyDownArrow32%=4106
- Month numbers
- KJanuary%=1
- KFebruary%=2
- KMarch%=3
- KApril%=4
- KMay%=5
- KJune%=6
- KJuly%=7
- KAugust%=8
- KSeptember%=9
- KOctober%=10
- KNovember%=11
- KDecember%=12
- Graphics
- KDefaultWin%=1
- KgModeSet%=0
- KgModeClear%=1
- KgModeInvert%=2
- KtModeSet%=0
- KtModeClear%=1
- KtModeInvert%=2
- KtModeReplace%=3
- KgStyleNormal%=0
- KgStyleBold%=1
- KgStyleUnder%=2
- KgStyleInverse%=4
- KgStyleDoubleHeight%=8
- KgStyleMonoFont%=16
- KgStyleItalic%=32
- /For 32-bit status words IOWAIT and IOWAITSTAT32Srem Use KErrFilePending% (-46) for 16-bit status words
- KStatusPending32&=&80000001
- Error codes
- For ALERT+KAlertEsc%=1
- KAlertEnter%=2
- KAlertSpace%=3
- For BUSY and GIPRINTYKBusyTopLeft%=0
- KBusyBottomLeft%=1
- KBusyTopRight%=2
- KBusyBottomRight%=3
- KBusyMaxText%=80
- For CMD$
- KCmdAppName%=1 rem Full path name used to start program
- KCmdUsedFile%=2
- KCmdLetter%=3
- rem For CMD$(3)
- KCmdLetterCreate$="C"
- KCmdLetterOpen$="O"
- KCmdLetterRun$="R"
- For CURSOR-KCursorTypeNotFlashing%=2
- KCursorTypeGrey%=4
- For DATIM$ - offsets
- KDatimOffDayName%=1
- KDatimOffDay%=5
- KDatimOffMonth%=8
- KDatimOffYear%=12
- KDatimOffHour%=17
- KDatimOffMinute%=20
- KDatimOffSecond%=23
- For dBUTTON
- KDButtonNoLabel%=$100
- KDButtonPlainKey%=$200
- KDButtonDel%=8
- KDButtonTab%=9
- KDButtonEnter%=13
- KDButtonEsc%=27
- KDButtonSpace%=32
- For dEDITMULTI and printing
- KParagraphDelimiter%=$06
- KLineBreak%=$07
- KPageBreak%=$08
- KTabCharacter%=$09
- KNonBreakingTab%=$0a
- KNonBreakingHyphen%=$0b
- KPotentialHyphen%=$0c
- KNonBreakingSpace%=$10
- KPictureCharacter%=$0e
- KVisibleSpaceCharacter%=$0f
- AKButtS3%=0
- KButtS3Raised%=0
- KButtS3Pressed%=1
- KButtS3a%=1
- KButtS3aRaised%=0
- KButtS3aSemiPressed%=1
- KButtS3aSunken%=2
- KButtS5%=2
- KButtS5Raised%=0
- KButtS5SemiPressed%=1
- KButtS5Sunken%=2
- KButtLayoutTextRightPictureLeft%=0
- KButtLayoutTextBottomPictureTop%=1
- KButtLayoutTextTopPictureBottom%=2
- KButtLayoutTextLeftPictureRight%=3
- KButtTextRight%=0
- KButtTextBottom%=1
- KButtTextTop%=2
- KButtTextLeft%=3
- KButtExcessShare%=$00
- KButtExcessToText%=$10
- KButtExcessToPicture%=$20
- For DEFAULTWIN-KDefWin4ColourMode%=1
- KDefWin16ColourMode%=2
- For dFILE
- Opl-related Uids for dFILE
- KUidOplInterpreter&=268435575
- KUidOplApp&=268435572
- KUidOplDoc&=268435573
- KUidOPO&=268435571
- KUidOplFile&=268435594
- KUidOpxDll&=268435549
- For DIALOG
- KDlgCancel%=0
- For dINIT (flags for dialogs)QKDlgButRight%=1
- KDlgNoTitle%=2
- KDlgFillScreen%=4
- KDlgNoDrag%=8
- KDlgDensePack%=16
- For DOWUKMonday%=1
- KTuesday%=2
- KWednesday%=3
- KThursday%=4
- KFriday%=5
- KSaturday%=6
- KSunday%=7
- For dPOSITION:KDPositionLeft%=-1
- KDPositionCentre%=0
- KDPositionRight%=1
- For dTEXT
- KDTextLeft%=0
- KDTextRight%=1
- KDTextCentre%=2
- KDTextBold%=$100 rem Ignored in Eikon
- KDTextLineBelow%=$200
- KDTextAllowSelection%=$400
- KDTextSeparator%=$800
- For dTIME
- KDTimeAbsNoSecs%=0
- KDTimeAbsWithSecs%=1
- KDTimeDurationNoSecs%=2
- KDTimeDurationWithSecs%=3
- rem Flags for dTIME (for ORing combinations)
- KDTimeWithSeconds%=1
- KDTimeDuration%=2
- KDTimeNoHours%=4
- KDTime24Hour%=8
- For dXINPUT
- KDXInputMaxLen%=16
- For FINDFIELDmKFindCaseDependent%=16
- KFindBackwards%=0
- KFindForwards%=1
- KFindBackwardsFromEnd%=2
- KFindForwardsFromStart%=3
- For FLAGS+KFlagsAppFileBased%=1
- KFlagsAppIsHidden%=2
- For gBORDER and gXBORDER
- KBordSglShadow%=1
- KBordSglGap%=2
- KBordDblShadow%=3
- KBordDblGap%=4
- KBordGapAllRound%=$100
- KBordRoundCorners%=$200
- KBordLosePixel%=$400
- For gBUTTON
- For gCLOCKiKgClockS5System%=6
- KgClockS5Analog%=7
- KgClockS5Digital%=8
- KgClockS5LargeAnalog%=9
- KgClockS5Formatted%=11
- For gCREATE
- KgCreateInvisible%=0
- KgCreateVisible%=1
- KgCreate2ColourMode%=$0000
- KgCreate4ColourMode%=$0001
- KgCreate16ColourMode%=$0002
- KgCreateHasShadow%=$0010
- Crem Array indexes
- KEvAType%=1
- KEvATime%=2
- rem event array keypress subscripts
- KEvAKMod%=4
- KEvAKRep%=5
- rem Pointer event array subscripts
- KEvAPtrOplWindowId%=3
- KEvAPtrWindowId%=3
- KEvAPtrType%=4
- KEvAPtrModifiers%=5
- KEvAPtrPositionX%=6
- KEvAPtrPositionY%=7
- KEvAPtrScreenPosX%=8
- KEvAPtrScreenPosY%=9
- rem Event types
- KEvNotKeyMask&=&400
- KEvFocusGained&=&401
- KEvFocusLost&=&402
- KEvSwitchOn&=&403
- KEvCommand&=&404
- KEvDateChanged&=&405
- KEvKeyDown&=&406
- KEvKeyUp&=&407
- KEvPtr&=&408
- KEvPtrEnter&=&409
- KEvPtrExit&=&40A
- rem Pointer event types
- KEvPtrPenDown&=0
- KEvPtrPenUp&=1
- KEvPtrButton1Down&=KEvPtrPenDown&
- KEvPtrButton1Up&=KEvPtrPenUp&
- KEvPtrButton2Down&=2
- KEvPtrButton2Up&=3
- KEvPtrButton3Down&=4
- KEvPtrButton3Up&=5
- KEvPtrDrag&=6
- KEvPtrMove&=7
- KEvPtrButtonRepeat&=8
- KEvPtrSwitchOn&=9
- For GETCMD$
- KGetCmdLetterCreate$="C"
- KGetCmdLetterOpen$="O"
- KGetCmdLetterExit$="X"
- KGetCmdLetterUnknown$="U"
- KGetCmdLetterBackup$="S"
- KGetCmdLetterRestart$="R"
- For gLOADBIT+KgLoadBitReadOnly%=0
- KgLoadBitWriteable%=1
- For gRANK,KgRankForeground%=1
- KgRankBackGround%=32767
- For gPOLY - array subscriptsWKgPolyAStartX%=1
- KgPolyAStartY%=2
- KgPolyANumPairs%=3
- KgPolyANumDx1%=4
- KgPolyANumDy1%=5
- For gPRINTB
- KgPrintBRightAligned%=1
- KgPrintBLeftAligned%=2
- KgPrintBCentredAligned%=3
- rem The defaults
- KgPrintBDefAligned%=KgPrintBLeftAligned%
- KgPrintBDefTop%=0
- KgPrintBDefBottom%=0
- KgPrintBDefMargin%=0
- For gXBORDER:KgXBorderS3Type%=0
- KgXBorderS3aType%=1
- KgXBorderS5Type%=2
- For gXPRINT
- KgXPrintNormal%=0
- KgXPrintInverse%=1
- KgXPrintInverseRound%=2
- KgXPrintThinInverse%=3
- KgXPrintThinInverseRound%=4
- KgXPrintUnderlined%=5
- KgXPrintThinUnderlined%=6
- For KMODFKKmodShift%=2
- KKmodControl%=4
- KKmodPsion%=8
- KKmodCaps%=16
- KKmodFn%=32
- For mCARD and mCASC
- KMenuDimmed%=$1000
- KMenuSymbolOn%=$2000
- KMenuSymbolIndeterminate%=$4000
- KMenuCheckBox%=$0800
- KMenuOptionStart%=$0900
- KMenuOptionMiddle%=$0A00
- KMenuOptionEnd%=$0B00
- For mPOPUP position type
- rem Specifies which corner of the popup is given by the coordinates
- KMPopupPosTopLeft%=0
- KMPopupPosTopRight%=1
- KMPopupPosBottomLeft%=2
- KMPopupPosBottomRight%=3
- For PARSE$ - array subscripts
- KParseAOffFSys%=1
- KParseAOffDev%=2
- KParseAOffPath%=3
- KParseAOffFilename%=4
- KParseAOffExt%=5
- KParseAOffWild%=6
- rem Wild-card flags
- KParseWildNone%=0
- KParseWildFilename%=1
- KParseWildExt%=2
- KParseWildBoth%=3
- !For SCREENINFO - array subscripts
- KSInfoALeft%=1
- KSInfoATop%=2
- KSInfoAScrW%=3
- KSInfoAScrH%=4
- KSInfoAReserved1%=5
- KSInfoAFont%=6
- KSInfoAPixW%=7
- KSInfoAPixH%=8
- KSInfoAReserved2%=9
- KSInfoAReserved3%=10
- For SETFLAGSaKRestrictTo64K&=&0001
- KAutoCompact&=&0002
- KTwoDigitExponent&=&0004
- KSendSwitchOnMessage&=&010000
- For GetEvent32
- For PointerFilterJKPointerFilterEnterExit%=$1
- KPointerFilterMove%=$2
- KPointerFilterDrag%=$4
- +code page 1252 ellipsis ("windows latin 1"))KScreenEllipsis%=133
- KScreenLineFeed%=10
- EKFontArialBold8&= 268435951
- KFontArialBold11&= 268435952
- KFontArialBold13&= 268435953
- KFontArialNormal8&= 268435954
- KFontArialNormal11&= 268435955
- KFontArialNormal13&= 268435956
- KFontArialNormal15&= 268435957
- KFontArialNormal18&= 268435958
- KFontArialNormal22&= 268435959
- KFontArialNormal27&= 268435960
- KFontArialNormal32&= 268435961
- KFontTimesBold8&= 268435962
- KFontTimesBold11&= 268435963
- KFontTimesBold13&= 268435964
- KFontTimesNormal8&= 268435965
- KFontTimesNormal11&= 268435966
- KFontTimesNormal13&= 268435967
- KFontTimesNormal15&= 268435968
- KFontTimesNormal18&= 268435969
- KFontTimesNormal22&= 268435970
- KFontTimesNormal27&= 268435971
- KFontTimesNormal32&= 268435972
- KFontCourierBold8&= 268436062
- KFontCourierBold11&= 268436063
- KFontCourierBold13&= 268436064
- KFontCourierNormal8&= 268436065
- KFontCourierNormal11&= 268436066
- KFontCourierNormal13&= 268436067
- KFontCourierNormal15&= 268436068
- KFontCourierNormal18&= 268436069
- KFontCourierNormal22&= 268436070
- KFontCourierNormal27&= 268436071
- KFontCourierNormal32&= 268436072
- KFontCalc13n&= 268435493
- KFontCalc18n&= 268435494
- KFontCalc24n&= 268435495
- KFontMon18n&= 268435497
- KFontMon18b&= 268435498
- KFontMon9n&= 268435499
- KFontMon9b&= 268435500
- KFontTiny1&= 268435501
- KFontTiny2&= 268435502
- KFontTiny3&= 268435503
- KFontTiny4&= 268435504
- KFontEiksym15&= 268435661
- KFontSquashed&= 268435701
- KFontDigital35&= 268435752
- >Arem Mode category 1
- KIoOpenModeOpen%=$0000
- KIoOpenModeCreate%=$0001
- KIoOpenModeReplace%=$0002
- KIoOpenModeAppend%=$0003
- KIoOpenModeUnique%=$0004
- rem Mode category 2
- KIoOpenFormatBinary%=$0000
- KIoOpenFormatText%=$0020
- rem Mode category 3
- KIoOpenAccessUpdate%=$0100
- KIoOpenAccessRandom%=$0200
- KIoOpenAccessShare%=$0400
- AKLangEnglish%=1
- KLangFrench%=2
- KLangGerman%=3
- KLangSpanish%=4
- KLangItalian%=5
- KLangSwedish%=6
- KLangDanish%=7
- KLangNorwegian%=8
- KLangFinnish%=9
- KLangAmerican%=10
- KLangSwissFrench%=11
- KLangSwissGerman%=12
- KLangPortuguese%=13
- KLangTurkish%=14
- KLangIcelandic%=15
- KLangRussian%=16
- KLangHungarian%=17
- KLangDutch%=18
- KLangBelgianFlemish%=19
- KLangAustralian%=20
- KLangBelgianFrench%=21
- KLangAustrian%=22
- KLangNewZealand%=23
- KLangInternationalFrench%=24
- For gCLOCK
- KClockLocaleConformant%=6
- KClockSystemSetting%=KClockLocaleConformant%
- KClockAnalog%=7
- KClockDigital%=8
- KClockLargeAnalog%=9
- rem gClock 10 no longer supported (use slightly changed gCLOCK 11)
- KClockFormattedDigital%=11
- +For gFONT (these may change before release)
- For IOOPEN
- Language code for CAPTION
- Table1
- Group:
- Const:
- Arial
- Table1
- Group:
- Const:
- Arial
- Table1
- Group:
- Const:
- Arial
- For gCLOCK
- KClockLocaleConformant%=6
- KClockSystemSetting%=KClockLocaleConformant%
- KClockAnalog%=7
- KClockDigital%=8
- KClockLargeAnalog%=9
- rem gClock 10 no longer supported (use slightly changed gCLOCK 11)
- KClockFormattedDigital%=11
- +For gFONT (these may change before release)
- For IOOPEN
- Language code for CAPTION
- Constants in Const.ophxAvailable, along with other doc in DATA, at
- http://www.knoware.nl/users/wsmout/s5doc.html
- comments to wsmout@knoware.nl
- Table1
- Group:
- Const:
- Arial
- Table1
- ColA9
- ColB9
- ColA10
- ColB10
- Index1
- ColA9
- For gCLOCK
- KClockLocaleConformant%=6
- KClockSystemSetting%=KClockLocaleConformant%
- KClockAnalog%=7
- KCloc
- kDigital%=8
- KClockLargeAnalog%=9
- rem gClock 10 no longer supported (use slightly changed gCLOCK 11)
- KClockFormattedDigital%=11
- +For gFONT (these may change before release)
- For IOOPEN
- Language code for CAPTION
- % Constants in Const.oph
- vs 1 01-08-98xAvailable, along with other doc in DATA, at
- http://www.knoware.nl/users/wsmout/s5doc.html
- comments to wsmout@knoware.nl
-